.doc {
  display: flex;

  em {
    font-style: italic;
    padding: .2rem;
    background-color: rgba(0, 0, 0, 0.04);
    border-radius: 3px;
    color: #757d3e;
  }

  strong {
    font-weight: bold;
    padding: .2rem;
    background-color: rgba(0, 0, 0, 0.04);
    border-radius: 3px;
  }

  ol li {
    list-style: decimal;
    margin-left: 2rem;
  }

  ul li {
    list-style: circle;
    margin-left: 2rem;
  }

  .anchor {
    font-size: 1rem;
    margin-left: 5px;
    opacity: 0;
    transition: .3s .3s opacity;
  }

  :hover > .anchor {
    opacity: 1;
  }

  @include respond-to('medium') {
    display: block;
    overflow: auto;
  }

  .info {
    padding: $content-padding;
  }

  .info {
    width: 60%;
    line-height: 1.5;
    border-bottom: 1px solid darken($color-lightgray, 5%);

    @include respond-to('medium') {
      width: 100%;
    }

    .highlighter-rouge {
      font-family: "Courier", sans-serif;
      padding: .1rem .2rem 0 .2rem;
      background-color: rgba(0, 0, 0, 0.02);
      border-radius: 3px;
      color: $color-primary;
      overflow: auto;
      border: 1px solid #eeeeee;
      text-shadow: 1px 1px 3px white;
    }

    div.highlighter-rouge {
      border: 1px solid lightgray;
      padding: 1rem;
      margin: 1rem 0;
    }

    p {
      margin-bottom: 1.5rem;
    }
  }

  table {
    margin-bottom: 1rem;
    margin-top: 1rem;

    th, td {
      border: 1px solid #f0f3f6;
      padding: 0.5rem 1rem;
    }

    th {
      background: #dff2ff;
      white-space: nowrap;
    }
  }

  .title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
    span:after {
      font-size: 1.25rem;
    }

  }

  .summary {
    color: darken($color-lightgray, 50%);
    margin-bottom: 1.5rem;
  }

  .markdown {

  }

  .type {
    color: #de935f;
    margin-bottom: 1rem;
  }

  .subtype {
    padding-left: 0.5rem;

  }

  .subtype.many-items {
    margin-left: 0.5rem;
    border-left: 1px solid lightgray;
  }

  .props {
    margin-left: 1rem;
    padding-left: 1rem;
  }

  .prop {
    display: flex;
  }

  .prop-name {
    color: #5cb85c;
    white-space: nowrap;
  }

  .param {
    margin-bottom: 1rem;
  }

  .required:after {
    content: ' *';
    color: red;
  }

  .array {
    color: #de935f;
    display: inline-block;
    white-space: nowrap;
  }

  .key {
    color: #2383c4;
    white-space: nowrap;
  }

  .value {
    margin-left: 1rem;
  }

  .description {
    padding-left: 1rem;
  }

  .props-label {
    margin-left: 1rem;
  }

  .additional-info {
    margin-bottom: 1rem;
  }

}

.doc-full {
  .info {
    width: 100%;
  }
}
